package com.yty.myadmin.dao;

import com.yty.myadmin.domain.UserRole;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface UserRoleDAO {
    UserRole findAllByName(String name);
    List<UserRole> findAllExceptName(String name);
}
